package com.ml.mall.entity.company;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *
 * </p>
 *
 * @author kyyang
 * Created 2021-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_company_regist_acc")
@ApiModel(value = "SysCompanyRegistAcc对象", description = "")
@Repository
public class SysCompanyRegistAcc implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * name1
     */
    @ApiModelProperty(value = "name1")
    @TableField("first_name")
    private String firstName;

    /**
     * name2
     */
    @ApiModelProperty(value = "name2")
    @TableField("last_name")
    private String lastName;

    /**
     * 注册是邮箱
     */
    @ApiModelProperty(value = "注册是邮箱")
    @TableField("email")
    private String email;

    /**
     * name 1
     */
    @ApiModelProperty(value = "name 1")
    @TableField("pwd")
    private String pwd;

    /**
     * 公司ID
     */
    @ApiModelProperty(value = "公司ID")
    @TableField("company_id")
    private Long companyId;


}
